/****************************************************************************
**
** Copyright (C) 2009 by user *
** user@greenphonesdk * 
**
** Contact: Qt Extended Information (info@qtextended.org)
**
** This file may be used under the terms of the GNU General Public License
** version 2.0 as published by the Free Software Foundation and appearing
** in the file LICENSE.GPL included in the packaging of this file.
**
** Please review the following information to ensure GNU General Public
** Licensing requirements will be met:
**     http://www.fsf.org/licensing/licenses/info/GPLv2.html.
**
****************************************************************************/

#ifndef ASSIGNMENT_1_H
#define ASSIGNMENT_1_H
#include "ui_assignment_1.h"
#include <QtGui>

class Assignment1 : public QWidget, public Ui_Assignment1Form
{
    Q_OBJECT
public:
    Assignment1( QWidget *parent = 0, Qt::WFlags f = 0 );
    ~Assignment1();

private:
    QLabel *countLabel;
    int counter;

signals:
    void signalYellowMode();

private slots:
    void updateCounter();
    void on_RedButton_clicked();
    void on_BlueButton_clicked();
    void on_GreenButton_clicked();
    void on_QuitButton_clicked();
    void setYellowMode();
};

#endif
